<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学生注册</title>
    <link rel="stylesheet" type="text/css" href="http://localhost:8080/DormitoryManager/css/css-student/register.css">
    <link rel="stylesheet" type="text/css" href="http://localhost:8080/DormitoryManager/css/css-other/icon.css">
    <script type="text/javascript">
        function toLogin()
        {
            window.location.href="http://localhost:8080/DormitoryManager/html/student/login.html"
        }
    </script>
</head>
<body>
<div id="registerBox">
    <h1>Student Register</h1>
    <form id="registerForm" action="http://localhost:8080/DormitoryManager/mvc/studentRegister.do" method="post">
        <table id="registerTable">
            <tr>
                <td id="tdName" colspan="2"><i id="nameIcon" class="iconfont">&#xe669;</i><input id="inputName" type="text" name="name" placeholder="name"></td>
            </tr>

            <tr>
                <td id="tdPassword" colspan="2"><i id="passwordIcon" class="iconfont">&#xe668;</i><input id="inputPassword" type="password" name="password" placeholder="password"></td>
            </tr>

            <tr>
                <td id="tdStunum"><i id="stunumIcon" class="iconfont">&#xe675;</i><input id="inputStunum" type="text" name="stunum" placeholder="学生编号"></td>
                <td id="tdAge"><i id="ageIcon" class="iconfont">&#xe62f;</i><input id="inputAge" type="text" name="age" placeholder="学生年龄"></td>
            </tr>

            <tr>
                <td id="tdGender"><i id="genderIcon" class="iconfont">&#xe63e;</i>
                    <select id="selectGender" name="gender">
                        <option value ="#">学生性别</option>
                        <option value ="male">male</option>
                        <option value ="female">female</option>
                </select></td>
                <td id="tdStatus"><i id="statusIcon" class="iconfont">&#xe635;</i><input id="inputStatus" type="text" name="status" placeholder="学生状态"></td>
            </tr>

            <tr>
                <td id="tdEmail" colspan="2"><i id="emailIcon" class="iconfont">&#xe631;</i><input id="inputEmail" type="email" name="email" placeholder="邮箱地址"></td>
            </tr>

            <tr>
                <td id="tdSubmit" colspan="2"><input id="inputSubmit" type="submit" value="Sign up" title="点击注册"></td>
            </tr>
        </table>
    </form>
    <br/>
    <i id="toLogin" class="iconfont" title="返回登陆界面" onclick="toLogin()">&#xe78a;</i>
</div>
</body>
</html>